package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.entity.Result;
import com.itheima.pojo.CheckItem;

import java.util.List;

/**
 * @author FCJ
 * @date 2019-12-30 18:55
 */
public interface CheckItemService {
    //添加检查项
    public void add(CheckItem checkItem);

    //根据条件查询分页结果
    public PageResult pageQuery(QueryPageBean queryPageBean);

    //根据id删除检查项
    public void delete(Integer id);

    //根据id查询检查项
    public CheckItem findById(Integer id);

    //编辑，更新检查项
    public void update(CheckItem checkItem);
    //查询所有
    public List<CheckItem> findAll();

}
